package com.codeoss.framework.view.component;

import com.codeoss.framework.expression.Expression;

public class Hidden extends Component implements IDataBinding,IDataBindSource,IDataType,IVarName,IFormFieldExpression{
    private String dataSource;
    private String dataField;
    private String varName;
    private String dataType;
    
    private Expression requiredExpression;
	private Expression readOnlyExpression;
	private Expression defaultValueExpression;
	
	public String getDataSource() {
		return dataSource;
	}

	public void setDataSource(String dataSource) {
		this.dataSource = dataSource;
	}

	public String getDataField() {
		return dataField;
	}

	public void setDataField(String dataField) {
		this.dataField = dataField;
	}

	public String getVarName() {
		return varName;
	}

	public void setVarName(String varName) {
		this.varName = varName;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	@Override
	public String getType() {
		// TODO Auto-generated method stub
		return "hidden";
	}

	@Override
	public Expression getRequiredExpression() {
		// TODO Auto-generated method stub
		return requiredExpression;
	}

	@Override
	public void setRequiredExpression(Expression requiredExpression) {
		// TODO Auto-generated method stub
		this.requiredExpression=requiredExpression;
	}

	@Override
	public Expression getReadOnlyExpression() {
		// TODO Auto-generated method stub
		return readOnlyExpression;
	}

	@Override
	public void setReadOnlyExpression(Expression readOnlyExpression) {
		// TODO Auto-generated method stub
		this.readOnlyExpression=readOnlyExpression;
	}

	@Override
	public Expression getDefaultValueExpression() {
		// TODO Auto-generated method stub
		return defaultValueExpression;
	}

	@Override
	public void setDefaultValueExpression(Expression defaultValueExpression) {
		// TODO Auto-generated method stub
		this.defaultValueExpression=defaultValueExpression;
	}
}
